package com.missilike.repository.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author kin
 * @since 2019-01-17
 */
public class MilRewardRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 打赏人Id
     */
    private String accountId;

    /**
     * 打赏金额
     */
    private BigDecimal rewardBalance;

    /**
     * 被打赏人Id
     */
    private String rewardAccountId;

    /**
     * 被打赏内容Id
     */
    private Long rewardContentId;

    private LocalDateTime createTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public BigDecimal getRewardBalance() {
        return rewardBalance;
    }

    public void setRewardBalance(BigDecimal rewardBalance) {
        this.rewardBalance = rewardBalance;
    }

    public String getRewardAccountId() {
        return rewardAccountId;
    }

    public void setRewardAccountId(String rewardAccountId) {
        this.rewardAccountId = rewardAccountId;
    }

    public Long getRewardContentId() {
        return rewardContentId;
    }

    public void setRewardContentId(Long rewardContentId) {
        this.rewardContentId = rewardContentId;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "MilRewardRecord{" +
        "id=" + id +
        ", accountId=" + accountId +
        ", rewardBalance=" + rewardBalance +
        ", rewardAccountId=" + rewardAccountId +
        ", rewardContentId=" + rewardContentId +
        ", createTime=" + createTime +
        "}";
    }
}
